package domain

import "github.com/jinzhu/gorm"

type Oauth struct {
	gorm.Model
	AccountId int64 `json:"accountId" example:"390246600456011800"`
	RefreshToken string `json:"refreshToken" example:"15f40c4f-f9c6-4c4d-8bca-fc8eec57b09a"`
	AccessToken string `json:"accessToken" gorm:"varchar(3000)" example:"5fe9a83e-6ade-41ad-93b6-61133730ba36"`
	TokenType  string `json:"tokenType" example:"Bearer"`
	ExpiresIn  uint `json:"expiresIn" example:"604800"`
	Scope   string `json:"scope" example:"user"`
}
